package com.wanghengzhi.design.patterns.visitor;

class VisitorMain {

    /**
     * 访问者模式：
     */
    public static void main(String[] args) {
        ComputerPart computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
